package chapter3.No3_1_等待和通知机制.j生产者_消费者模式实现.demo3;

/**
 * Created by Administrator on 2016/11/19.
 */
public class ThreadC extends Thread {
    MyStack stack;

    public ThreadC(MyStack stack) {
        this.stack = stack;
    }

    @Override
    public void run() {
        while(true) {
            stack.pop();
        }
    }
}
